package com.platform.comm.util;

import org.apache.commons.lang3.RandomStringUtils;

/**
 * Description: 随机值生成工具
 *
 * @author coder
 * Created on 2019/5/9
 **/
public class RandomUtil {
    public static String randomText() {
        return RandomStringUtils.random(32, true, true);
    }


    private RandomUtil() {
    }

    //全数字的随机值
    public static String randomNumber() {
        return RandomStringUtils.random(32, false, true);
    }
}
